package com.qfjy.homework.huangjie;

/**
 * @author:黄杰
 * @date:
 * @version:1.0
 */
public class Test {
    public static void main(String[] args) {
        Agency agency = new AgencyImpl();
        Person A = new Person("张三",25,Sex.MALE,24,agency);

        Person B = new Person("李四",24,Sex.FEMALE,25,agency);

        Person C = new Person("王五",27,Sex.FEMALE,26,agency);

        agency.register(A);
        agency.register(B);
        agency.register(C);

        agency.pair(A);

    }
}
